package com.lm56.common.exception;

/**
 * Created by Kelvin Yeung on 2016/11/11.
 */
public class FieldValidateExcetiption extends MyException {

    private String field;

    public String getField() {
        return field;
    }

    public void setField(String field) {
        this.field = field;
    }

    public FieldValidateExcetiption() {
        super();
    }

    public FieldValidateExcetiption(String message) {
        super(message);
    }



    public FieldValidateExcetiption(String field,String message) {
        super(message);
        this.field=field;
    }

    public FieldValidateExcetiption(String message, Throwable cause) {
        super(message, cause);
    }

    public FieldValidateExcetiption(Throwable cause) {
        super(cause);
    }

    protected FieldValidateExcetiption(String message, Throwable cause,
                                         boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
